package ooday04.homework;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Inter a = new Inter(){};
        Inter b = new Inter(){};
        InterInter c = new InterInter(){
            public void show(){
                System.out.println("111");
            }
        };
        c.show();
        InterInter d = new InterInter(){
            public void show(){
                System.out.println("222");
            }
        };
        d.show();
    }
}
